package your.pack.sten;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
import android.webkit.WebViewClient;

public class Glossary extends Activity {
	private WebView wv;
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.glossary);
		
		wv = (WebView)findViewById(R.id.glossary);
		wv.getSettings().setJavaScriptEnabled(true);
		
		wv.loadUrl("http://dic.sten.or.kr/");
		wv.setWebViewClient(new WebViewClient(){
			public boolean shouldOverrideUrlLoading(WebView view, String url) {
	       		view.loadUrl(url);
	       		return true;
			}
		});
	}	
}
